import httpClient from "@/api/index";

export const GetMenuList = async (params: any) => {
    return await httpClient.post("/menu/GetMenuList", params);
}

export const addMenu = async (params: any) => {
    return await httpClient.post("/menu/AddMenu", params);
}

export const updateMenu = async (params: any) => {
    return await httpClient.post("/menu/UpdateMenu", params);
}

export const DeleteMenu = async (params: any) => {
    return await httpClient.post("/menu/DeleteMenu", params);
}